
package dk.eal.kbr.si.wgrus.accounting;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.Action;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.5.1
 * 2014-03-30T12:11:10.522+02:00
 * Generated source version: 2.5.1
 * 
 */
public final class AccountingServices_BasicHttpBindingAccountingServices_Client {

    private static final QName SERVICE_NAME = new QName("http://wgrus.com/Service", "AccountingServices");

    private AccountingServices_BasicHttpBindingAccountingServices_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = AccountingServices_Service.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        AccountingServices_Service ss = new AccountingServices_Service(wsdlURL, SERVICE_NAME);
        AccountingServices port = ss.getBasicHttpBindingAccountingServices();  
        
        {
        System.out.println("Invoking getNextOrderNumber...");
        java.lang.Integer _getNextOrderNumber__return = port.getNextOrderNumber();
        System.out.println("getNextOrderNumber.result=" + _getNextOrderNumber__return);


        }
        {
        System.out.println("Invoking updateCustomer...");
        java.lang.String _updateCustomer_customerXml = "";
        dk.eal.kbr.si.wgrus.accounting.CustomerUpdateReport _updateCustomer__return = port.updateCustomer(_updateCustomer_customerXml);
        System.out.println("updateCustomer.result=" + _updateCustomer__return);


        }
        {
        System.out.println("Invoking orderShipped...");
        java.lang.String _orderShipped_orderXml = "";
        dk.eal.kbr.si.wgrus.accounting.ShipOrderReport _orderShipped__return = port.orderShipped(_orderShipped_orderXml);
        System.out.println("orderShipped.result=" + _orderShipped__return);


        }
        {
        System.out.println("Invoking isStandingValid...");
        java.lang.String _isStandingValid_orderXml = "";
        dk.eal.kbr.si.wgrus.accounting.StandingReport _isStandingValid__return = port.isStandingValid(_isStandingValid_orderXml);
        System.out.println("isStandingValid.result=" + _isStandingValid__return);


        }

        System.exit(0);
    }

}
